From 9adb145bb62670b727a8758795d5222a9d20f558 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 12 Mar 2005 04:00:12 +0000 Subject: [PATCH] Don't crash on style changes. (#169334, Yury Puzis) 2005-03-11 Matthias Clasen * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on style changes. (#169334, Yury Puzis) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtkaboutdialog.c | 4 ++-- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a8440f3f9..4627cba819 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-03-11 Matthias Clasen + * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on + style changes. (#169334, Yury Puzis) + * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix the doc comments. (#169967, Masao Mutoh) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1a8440f3f9..4627cba819 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-03-11 Matthias Clasen + * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on + style changes. (#169334, Yury Puzis) + * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix the doc comments. (#169967, Masao Mutoh) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1a8440f3f9..4627cba819 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-03-11 Matthias Clasen + * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on + style changes. (#169334, Yury Puzis) + * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix the doc comments. (#169967, Masao Mutoh) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 3489b68370..82264446aa 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -1829,8 +1829,8 @@ add_credits_page (GtkAboutDialog *about, } view = gtk_text_view_new (); - g_signal_connect (about, "style_set", - G_CALLBACK (text_view_style_set), view); + g_signal_connect_object (about, "style_set", + G_CALLBACK (text_view_style_set), view); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (view), FALSE); -- 2.30.2